package cn.ss.exam2302.service;

import cn.ss.exam2302.entity.JsonResult;
import cn.ss.exam2302.entity.User;

import java.util.List;

public interface UserService {
    User selectOneByAccount(String account);

    User queryOneByAccount(String account);
    JsonResult insert(User user);

    List<User> queryALl();

    JsonResult resetPassword(String password, String usrAccount);

    JsonResult delete(String status, String usrAccount);
}
